package com.smartleanx.module.hrm.eums.companySystem;

import com.smartleanx.framework.common.core.IntArrayValuable;
import com.smartleanx.module.hrm.eums.file.BizFileTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
/**
 * 制度学习状态枚举
 */
@Getter
@AllArgsConstructor
public enum CompanySystemLearnEnum implements IntArrayValuable {
    LEARNED(1, "已学习"),
    UNLEARNED(2, "未学习"),
    ALL_TYPES(3, "全部");

    private Integer value;
    private String bizName;

    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(CompanySystemLearnEnum::getValue).toArray();

    @Override
    public int[] array() {
        return ARRAYS;
    }
}
